<f:layout name="Backend"/>

<f:section name="Content">

	<h1>
		Support / Dokumentation
	</h1>

	<h2>Configuration Test</h2>

	<f:if condition="{foundHtaccess}">
		<f:then>
			<div class="alert alert-info" role="alert">We found StaticFileCache information in the htaccess file. If the configuration is the most current you have to check by youself.</div>
		</f:then>
		<f:else>
			<div class="alert alert-warning" role="alert">We couldn't find the StaticFileCache configuration in the htaccess file. Perhaps you configure the rules in the Webserver or do not use an Apache webserver. But: In most cases the configuration is missing!! (Note: We search for "SFC_FULLPATH" in this file)</div>
		</f:else>
	</f:if>

	<f:if condition="{missingModules -> f:count()}">
		<f:then>
			<div class="alert alert-warning" role="alert">We couldn't find the required apache modules for the htaccess configuration:
				<f:for each="{missingModules}" as="mod">
					{mod}
				</f:for>
			</div>
		</f:then>
		<f:else>
			<div class="alert alert-info" role="alert">We found the required apache modules in youur installation.</div>
		</f:else>
	</f:if>

	<h2>Support the extension development...</h2>
	<p>
		<a href="https://www.paypal.me/lochmueller/100" target="_blank" class="btn btn-lg btn-success">
			<core:icon identifier="brand-paypal"/>
			PayPal
		</a>
		<a href="https://www.amazon.de/hz/wishlist/ls/SWHV1AQPUTH9" target="_blank" class="btn btn-success">
			<core:icon identifier="brand-amazon"/>
			Amazon
		</a>
	</p>

	<h2>Documentation and issue tracker...</h2>
	<p>
		<a class="btn btn-info" href="https://github.com/lochmueller/staticfilecache/blob/master/README.md" target="_blank">
			<core:icon identifier="documentation-book"/>
			Documentation
		</a>

		<a class="btn btn-info" href="https://github.com/lochmueller/staticfilecache/issues" target="_blank">
			<core:icon identifier="documentation-book"/>
			Issue tracker
		</a>
	</p>
</f:section>

<f:section name="Menu">
	<f:render partial="Backend/Menu" />
</f:section>


